package io.renren.modules.workmanagement.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.workmanagement.entity.QuestionAnswerEntity;

import java.util.List;
import java.util.Map;

/**
 * 候选答案
 *
 * @author yewei
 * @email sunlightcs@gmail.com
 * @date 2022-04-17 18:57:10
 */
public interface QuestionAnswerService extends IService<QuestionAnswerEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<QuestionAnswerEntity> ListByQuestionId(Long id);

    List<QuestionAnswerEntity> getByQuId(Long quId);

    void removeByQuId(Long quId);

    void removeByQuIds(List<Long> quIds);

    List<QuestionAnswerEntity> ListByQuestionIds(List<Long> quIds);
}

